(function($) {
	
	$.controller.privateMessage = {
			index: function(actionVars) {
				$.widget.privateMessages.prepareMessageList();
			},
			
			loadDirectory: function(actionVars){
				$.widget.privateMessages.paginate(1);
			}

	}
	
})(jQuery);